Welcome Guest | Sign in | Register
Advanced Java - Java Programming Interview Questions and Answers | LucentBlackBoard | LucentBlackBoard.com

Home > Technical Interviews > Computer Science & Engineering > Java Programming > Advanced Java Questions and Answers

86. What classes of exceptions may be caught by a catch clause?

A catch clause can catch any exception that may be assigned to the Throwable type. This includes the Error and Exception types.

87. If a class is declared without any access modifiers, where may the class be accessed?

A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.

88. What is the SimpleTimeZone class?

The SimpleTimeZone class provides support for a Gregorian calendar.

89. What is the Map interface?

The Map interface replaces the JDK 1.1 Dictionary class and is used associate keys with values.

90. Does a class inherit the constructors of its superclass?

A class does not inherit constructors from any of its superclasses.




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.